Optimal. Leaf size=94 \[ \frac {b^2 \sin (a) \text {Ci}\left (\frac {b}{\sqrt {c+d x}}\right )}{d}+\frac {b^2 \cos (a) \text {Si}\left (\frac {b}{\sqrt {c+d x}}\right )}{d}+\frac {(c+d x) \sin \left (a+\frac {b}{\sqrt {c+d x}}\right )}{d}+\frac {b \sqrt {c+d x} \cos \left (a+\frac {b}{\sqrt {c+d x}}\right )}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 94, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.357, Rules used = {3361, 3297, 3303, 3299, 3302} \[ \frac {b^2 \sin (a) \text {CosIntegral}\left (\frac {b}{\sqrt {c+d x}}\right )}{d}+\frac {b^2 \cos (a) \text {Si}\left (\frac {b}{\sqrt {c+d x}}\right )}{d}+\frac {(c+d x) \sin \left (a+\frac {b}{\sqrt {c+d x}}\right )}{d}+\frac {b \sqrt {c+d x} \cos \left (a+\frac {b}{\sqrt {c+d x}}\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3297
Rule 3299
Rule 3302
Rule 3303
Rule 3361
Rubi steps
\begin {align*} \int \sin \left (a+\frac {b}{\sqrt {c+d x}}\right ) \, dx &=-\frac {2 \operatorname {Subst}\left (\int \frac {\sin (a+b x)}{x^3} \, dx,x,\frac {1}{\sqrt {c+d x}}\right )}{d}\\ &=\frac {(c+d x) \sin \left (a+\frac {b}{\sqrt {c+d x}}\right )}{d}-\frac {b \operatorname {Subst}\left (\int \frac {\cos (a+b x)}{x^2} \, dx,x,\frac {1}{\sqrt {c+d x}}\right )}{d}\\ &=\frac {b \sqrt {c+d x} \cos \left (a+\frac {b}{\sqrt {c+d x}}\right )}{d}+\frac {(c+d x) \sin \left (a+\frac {b}{\sqrt {c+d x}}\right )}{d}+\frac {b^2 \operatorname {Subst}\left (\int \frac {\sin (a+b x)}{x} \, dx,x,\frac {1}{\sqrt {c+d x}}\right )}{d}\\ &=\frac {b \sqrt {c+d x} \cos \left (a+\frac {b}{\sqrt {c+d x}}\right )}{d}+\frac {(c+d x) \sin \left (a+\frac {b}{\sqrt {c+d x}}\right )}{d}+\frac {\left (b^2 \cos (a)\right ) \operatorname {Subst}\left (\int \frac {\sin (b x)}{x} \, dx,x,\frac {1}{\sqrt {c+d x}}\right )}{d}+\frac {\left (b^2 \sin (a)\right ) \operatorname {Subst}\left (\int \frac {\cos (b x)}{x} \, dx,x,\frac {1}{\sqrt {c+d x}}\right )}{d}\\ &=\frac {b \sqrt {c+d x} \cos \left (a+\frac {b}{\sqrt {c+d x}}\right )}{d}+\frac {b^2 \text {Ci}\left (\frac {b}{\sqrt {c+d x}}\right ) \sin (a)}{d}+\frac {(c+d x) \sin \left (a+\frac {b}{\sqrt {c+d x}}\right )}{d}+\frac {b^2 \cos (a) \text {Si}\left (\frac {b}{\sqrt {c+d x}}\right )}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 99, normalized size = 1.05 \[ \frac {b^2 \sin (a) \text {Ci}\left (\frac {b}{\sqrt {c+d x}}\right )+b^2 \cos (a) \text {Si}\left (\frac {b}{\sqrt {c+d x}}\right )+c \sin \left (a+\frac {b}{\sqrt {c+d x}}\right )+d x \sin \left (a+\frac {b}{\sqrt {c+d x}}\right )+b \sqrt {c+d x} \cos \left (a+\frac {b}{\sqrt {c+d x}}\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.61, size = 125, normalized size = 1.33 \[ \frac {b^{2} \operatorname {Ci}\left (\frac {b}{\sqrt {d x + c}}\right ) \sin \relax (a) + b^{2} \operatorname {Ci}\left (-\frac {b}{\sqrt {d x + c}}\right ) \sin \relax (a) + 2 \, b^{2} \cos \relax (a) \operatorname {Si}\left (\frac {b}{\sqrt {d x + c}}\right ) + 2 \, \sqrt {d x + c} b \cos \left (\frac {a d x + a c + \sqrt {d x + c} b}{d x + c}\right ) + 2 \, {\left (d x + c\right )} \sin \left (\frac {a d x + a c + \sqrt {d x + c} b}{d x + c}\right )}{2 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.62, size = 413, normalized size = 4.39 \[ \frac {a^{2} b^{3} \operatorname {Ci}\left (-a + \frac {\sqrt {d x + c} a + b}{\sqrt {d x + c}}\right ) \sin \relax (a) - a^{2} b^{3} \cos \relax (a) \operatorname {Si}\left (a - \frac {\sqrt {d x + c} a + b}{\sqrt {d x + c}}\right ) - \frac {2 \, {\left (\sqrt {d x + c} a + b\right )} a b^{3} \operatorname {Ci}\left (-a + \frac {\sqrt {d x + c} a + b}{\sqrt {d x + c}}\right ) \sin \relax (a)}{\sqrt {d x + c}} + \frac {2 \, {\left (\sqrt {d x + c} a + b\right )} a b^{3} \cos \relax (a) \operatorname {Si}\left (a - \frac {\sqrt {d x + c} a + b}{\sqrt {d x + c}}\right )}{\sqrt {d x + c}} + \frac {{\left (\sqrt {d x + c} a + b\right )}^{2} b^{3} \operatorname {Ci}\left (-a + \frac {\sqrt {d x + c} a + b}{\sqrt {d x + c}}\right ) \sin \relax (a)}{d x + c} - \frac {{\left (\sqrt {d x + c} a + b\right )}^{2} b^{3} \cos \relax (a) \operatorname {Si}\left (a - \frac {\sqrt {d x + c} a + b}{\sqrt {d x + c}}\right )}{d x + c} - a b^{3} \cos \left (\frac {\sqrt {d x + c} a + b}{\sqrt {d x + c}}\right ) + \frac {{\left (\sqrt {d x + c} a + b\right )} b^{3} \cos \left (\frac {\sqrt {d x + c} a + b}{\sqrt {d x + c}}\right )}{\sqrt {d x + c}} + b^{3} \sin \left (\frac {\sqrt {d x + c} a + b}{\sqrt {d x + c}}\right )}{{\left (a^{2} - \frac {2 \, {\left (\sqrt {d x + c} a + b\right )} a}{\sqrt {d x + c}} + \frac {{\left (\sqrt {d x + c} a + b\right )}^{2}}{d x + c}\right )} b d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 84, normalized size = 0.89 \[ -\frac {2 b^{2} \left (-\frac {\sin \left (a +\frac {b}{\sqrt {d x +c}}\right ) \left (d x +c \right )}{2 b^{2}}-\frac {\cos \left (a +\frac {b}{\sqrt {d x +c}}\right ) \sqrt {d x +c}}{2 b}-\frac {\Si \left (\frac {b}{\sqrt {d x +c}}\right ) \cos \relax (a )}{2}-\frac {\Ci \left (\frac {b}{\sqrt {d x +c}}\right ) \sin \relax (a )}{2}\right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.59, size = 124, normalized size = 1.32 \[ \frac {{\left ({\left (-i \, {\rm Ei}\left (\frac {i \, b}{\sqrt {d x + c}}\right ) + i \, {\rm Ei}\left (-\frac {i \, b}{\sqrt {d x + c}}\right )\right )} \cos \relax (a) + {\left ({\rm Ei}\left (\frac {i \, b}{\sqrt {d x + c}}\right ) + {\rm Ei}\left (-\frac {i \, b}{\sqrt {d x + c}}\right )\right )} \sin \relax (a)\right )} b^{2} + 2 \, \sqrt {d x + c} b \cos \left (\frac {\sqrt {d x + c} a + b}{\sqrt {d x + c}}\right ) + 2 \, {\left (d x + c\right )} \sin \left (\frac {\sqrt {d x + c} a + b}{\sqrt {d x + c}}\right )}{2 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \sin \left (a+\frac {b}{\sqrt {c+d\,x}}\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sin {\left (a + \frac {b}{\sqrt {c + d x}} \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________